//
//  CustomDatePickerView.h
//  YaoHeAPP
//
//  Created by 杨亚森 on 16/6/27.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^CustomDatePickerViewCancelActionBlock)();
typedef void(^CustomDatePickerViewConformActionBlock)(NSString *);

typedef enum : NSUInteger {
    kDictionary = 0,
    kArray = 1,
} DataSourceIsDictionaryOrArray;                                    // 数据来源类型的枚举

@interface CustomDatePickerView : UIView

@property (nonatomic, assign) DataSourceIsDictionaryOrArray dataSourceIsDictionaryOrArray;
@property (nonatomic, strong) NSDictionary *dataSourceDictionary;   // 字典类型数据来源
@property (nonatomic, strong) NSArray *dataSourceArray;             // 数组类型数据来源
@property (nonatomic, copy) CustomDatePickerViewCancelActionBlock cancelActionBlock;
@property (nonatomic, copy) CustomDatePickerViewConformActionBlock conformActionBlock;

@end
